function ok=isPositiveInt(x)
    ok = x>0 & mod(x,1)==0;
end
